package com.tang.rabbitmq.service.impl;/*
 *   @author Dram
 *   @create 2021-04-16 13:56
 */

import com.tang.rabbitmq.mapper.RabbitmqMapper;
import com.tang.rabbitmq.service.RabbitmqService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class RabbitmqServiceImpl implements RabbitmqService {
    @Autowired
    private RabbitmqMapper rabbitmqMapper;


    @Override
    public void sendWork() {
        rabbitmqMapper.sendWork();
    }
    @Override
    public void sendPublish() {
        rabbitmqMapper.sendPublish();
    }

    @Override
    public void sendTopic() {
        rabbitmqMapper.sendTopic();
    }

    @Override
    public void sendConfirm() {
        rabbitmqMapper.sendConfirm();
    }

    @Override
    public void sendReturn() {
        rabbitmqMapper.sendReturn();
    }

    @Override
    public void sendDelay() {
        rabbitmqMapper.sendDelay();
    }
}
